function cors(req,res,next){
    res.setHeader('Access-Control-Allow-Origin','http://124.223.190.128')
    res.setHeader('Access-Control-Allow-Origin','http://wz824.cn')
    res.setHeader('Access-Control-Allow-Origin','http://localhost:8080')
    res.setHeader('Access-Control-Allow-Headers','Content-type,Authorization')
    res.setHeader('Access-Control-Allow-Credentials', 'true')
    next()
}

module.exports = {cors}